---
title: "Accessibility Checker Rule Help: WCAG20_Object_HasText"
---
import "../../../styles/ToolHelp.scss"
import { CodeSnippet, Tag } from "carbon-components-react";

<div className="toolHelp">
<Row>
<Column colLg={5} colMd={3} colSm={4} className="toolLeft">

### Who does this affect?

* Blind people using screen readers;
* People using text-based browsers (e.g., Lynx) or audio interfaces.

### Why is this important?

Alternative descriptions are important for users whose browsers do not support the `<object>` element or the media type of the object.

</Column>
<Column colLg={11} colMd={5} colSm={4} className="toolMain">

<div id="locLevel"></div>

### An `<object>` element does not have a text alternative
`<object>` elements must have a text alternative that describes the content rendered by the object

[IBM 1.1.1 Non-text content](http://www.ibm.com/able/guidelines/ci162/non_text_content.html) | [WCAG 2.1 technique H53](https://www.w3.org/WAI/WCAG21/Techniques/html/H53)

<div id="locSnippet"></div>

### What to do

* If the `<object>` element is a Java applet, add an alternative text description;
* OR, if the `<object>` element is a MPEG movie, add an image with alternative text.

For example:

<CodeSnippet type="multi" light={true}> &lt;object classid="java:Press.class" width="500" height="500" title="Java applet: how temperature affects pressure."&gt;
&lt;applet code="java:Press.class" width="500" height="500"&gt; As temperature increases the velocity of the molecules in the balloon...
&lt;/applet&gt;
&lt;/object&gt;</CodeSnippet>

</Column>
</Row>
</div>

export default ({ children, _frontmatter }) => (<React.Fragment>{children}</React.Fragment>)